gtk-demo: Some fixes to awards
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2020 14:45:22 +0000 (10:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2020 17:01:17 +0000 (13:01 -0400)
Fix things up enough to make the list show up.
Still not a working example, but closer.

demos/gtk-demo/awardlistitem.ui

index 8e2a1415fd77745e4a6defda55e0d401d86fddc6..3627877cdd9bd7002d06200db8f543d30357a10f 100644 (file)
@@ -3,8 +3,15 @@
   <template class="GtkListItem">
     <property name="child">
       <object class="GtkLabel">
-        <property name="label" bind-source="GtkListItem" bind-property="position"></property>
-        <property name="margin">6</property>
+        <binding name="label">
+          <lookup name="title" type="GtkAward">
+             <lookup name="item">GtkListItem</lookup>
+          </lookup>
+        </binding>
+        <property name="margin-start">6</property>
+        <property name="margin-end">6</property>
+        <property name="margin-top">6</property>
+        <property name="margin-bottom">6</property>
       </object>
     </property>
   </template>